package util;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class MyList {
    private List data;
    public MyList(){
        data = new ArrayList();
    }
    public MyList(List list){
        data = list;
    }
    public MyList add(Object record){
        data.add(record);
        return this;
    }
    public List toList(){
        return data;
    }
}
